const {ccclass, property} = cc._decorator;

@ccclass
export default class SubPackage2 extends cc.Component {

    @property(cc.Button) retBtn: cc.Button = null

    start() {
        this.retBtn.node.on('click', () => {
            cc.director.loadScene('main')
        })
    }

}
